package god.dream.loginfo.dao;

import god.dream.loginfo.model.LogInfo;

import java.util.List;

import org.springframework.dao.DataAccessException;

public interface LogInfoDAO {

	int insert(LogInfo logInfo) throws DataAccessException;

	int update(LogInfo logInfo) throws DataAccessException;

	int delete(int id) throws DataAccessException;

	LogInfo findLogInfo(int id) throws DataAccessException;
	
	LogInfo findLogInfoWithLoginId(String loginId) throws DataAccessException;
	
	List<LogInfo> findLogInfoList() throws DataAccessException;
	
}
